package com.bestv.datalake.mapper;

import com.bestv.datalake.model.LogRuler;

import java.util.List;

/**
 * Created by jing.zigao on 2016/5/25.
 */
public interface LogRulerMapper {

    public LogRuler getLogRulerBySubject(String subject);
    public LogRuler getLogRulerById(long logRulerId);
    public List<LogRuler> getAllLogRulers();
    public void addLogRuler(LogRuler logRuler);
    public void updateLogRuler(LogRuler logRuler);
    public void deleteLogRuler(LogRuler logRuler);
    public void deleteLogRulerById(long logRulerId);
}
